package com.ruoyi.cderp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.cderp.mapper.TblPurchaseConfigMapper;
import com.ruoyi.cderp.domain.TblPurchaseConfig;
import com.ruoyi.cderp.service.ITblPurchaseConfigService;

/**
 * 采购参数设置Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
@Service
public class TblPurchaseConfigServiceImpl implements ITblPurchaseConfigService 
{
    @Autowired
    private TblPurchaseConfigMapper tblPurchaseConfigMapper;

    /**
     * 查询采购参数设置列表
     *
     * @param tblPurchaseConfig 采购参数设置
     * @return 采购参数设置
     */
    @Override
    public TblPurchaseConfig selectTblPurchaseConfig()
    {
        return tblPurchaseConfigMapper.selectTblPurchaseConfig();
    }



    /**
     * 修改采购参数设置
     * 
     * @param tblPurchaseConfig 采购参数设置
     * @return 结果
     */
    @Override
    public int updateTblPurchaseConfig(TblPurchaseConfig tblPurchaseConfig)
    {
        return tblPurchaseConfigMapper.updateTblPurchaseConfig(tblPurchaseConfig);
    }


}
